package com.bone.vo;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import com.bone.constant.Constant;
import com.bone.title.po.Title;

public class TitleVO implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1154343048505354950L;
	private Long titleId;
	private Long setId;
	private String titleName;
	private double seq;
	private String status;
	private String level;
  
	List<TitleVO>  titles = new ArrayList<TitleVO>();

	public Long getTitleId() {
		return titleId;
	}

	public void setTitleId(Long titleId) {
		this.titleId = titleId;
	}

	public Long getSetId() {
		return setId;
	}

	public void setSetId(Long setId) {
		this.setId = setId;
	}

	public String getTitleName() {
		return titleName;
	}

	public void setTitleName(String titleName) {
		this.titleName = titleName;
	}

	public double getSeq() {
		return seq;
	}

	public void setSeq(double seq) {
		this.seq = seq;
	}

	public List<TitleVO> getTitles() {
		return titles;
	}

	public void setTitles(List<TitleVO> titles) {
		this.titles = titles;
	}
	
	public void putTs(TitleVO tv){
		titles.add(tv);
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getLevel() {
		return level;
	}

	public void setLevel(String level) {
		this.level = level;
	}
	public String getLevelZh() {
		return Constant.COMM_TYPE.getCnName(level);
	}
}
